//导入 axios
import axios from 'axios';

//创建 axios 实例
let instance = axios.create({
  baseURL: 'http://api.xiaohigh.com'
});

//创建响应拦截器
instance.interceptors.response.use(response => {
  return response.data;
});

//暴露 
export default instance;